package com.projectfile.entity;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import org.bouncycastle.asn1.dvcs.Data;

import java.util.List;


public class LoginUser {

    private int user_id;
    private String username;
    private String password;
    private List<Role> roles;

    public LoginUser() {
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public LoginUser(int user_id, String username, String password) {
        this.user_id = user_id;
        this.username = username;
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public List<Role> getRoles() {
        return roles;
    }

    public void setRoles(List<Role> roles) {
        this.roles = roles;
    }
}
